var should = require('should');
var assert = require('assert');
var expeditionService = require('../../app/services/expeditionService');
var soldierModel = require('../../app/models/soldierModel.js');
var config = require('../config');
var PlayerManager = require('../../app/libs/playerManager.js');

suite('expeditionService', function () {
    suite('getMaxSoldierPower', function () {
        // test('查询最高战力', function (done) {
        //     soldierModel.getByRoleId(config.role_id, function(err, soldier_model) {
        //         var max_power = expeditionService.getMaxSoldierPower(soldier_model.soldier_list);
        //         console.log('max_power:', max_power);
        //         done();
        //     });
        // });

        test('重置远征', function (done) {
            var player_manager = new PlayerManager(10000);
            expeditionService.reset(player_manager, function (err) {
                // console.log('err:', err);
                done();
            });
        });
    });
});
